package com.ashley.day_0405;

public class ForExer1 {

	public static void main(String[] args) {
		int sum = 0;
		int count = 0;
		for (int i = 1; i <= 100; i++) {
			if (i % 7 == 0) {
				System.out.println(i);
				sum += i;
				count++;
			}

		}
		System.out.println("个数为：" + count);
		System.out.println("和为：" + sum);
	}

}
